package com.ruifu.pls.repository;


import com.ruifu.pls.entity.DocAsnDetails;
import com.ruifu.pls.entity.DocAsnHeader;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface GAsndetailRepository
        extends PagingAndSortingRepository<DocAsnDetails, String>, JpaSpecificationExecutor<DocAsnDetails>
{

    @Query
            (value = "select  * from doc_asn_details asn  where asnno = ?1  ",nativeQuery = true)
    public  List<DocAsnDetails> findAsnDetails(String asnno);


}
